home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
explor2a
/
explorer.bas
next >
Wrap
BASIC Source File
|
1999-09-27
|
1KB
|
36 lines
Attribute VB_Name = "Module2"
Public Const IMG_FILE_KEY = "file"
Public Const IMG_DRIVE_KEY = "drv"
Public Const IMG_DIR_KEY = "fol"
Public Const IMG_OPENFOLDER_KEY = "opnfol"
Public Const IMG_DESKTOP_KEY = "dsktop"
Public Const IMG_MYCOMP_KEY = "mycomp"
Public Const IMG_NETHOOD_KEY = "nethood"
Public Const IMG_NETDRV_KEY = "netdrv"
Public Const IMG_REMDRV_KEY = "remdrv"
Public Const IMG_CDDRV_KEY = "cddrv"
Public Const TXT_FILE_TYPE_NAME = "File"
Public Const TXT_DIR_TYPE_NAME = "Folder"
Public Const TXT_MYCOMP_TITLE = "My Computer"
Public Const TXT_DESKTOP_TITLE = "Desktop"
Public SHELL_PATHS(17) As String 'To keep any and all system paths
Public Sub LoadShellPaths()
Dim CurrHkey As Long
Dim ShellFoldersPath As String
CurrHkey = &H80000001
ShellFoldersPath = "Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\"
SHELL_PATHS(1) = SYS_REG_ACCESS.GetString(CurrHkey, ShellFoldersPath, "desktop")
SHELL_PATHS(2) = SYS_REG_ACCESS.GetString(CurrHkey, ShellFoldersPath, "desktop")
End Sub